//
//  TaskWithUpdateAddress.m
//  DuBai
//
//  Created by lt on 14-3-25.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import "TaskWithUpdateAddress.h"

#import "Addresses.h"

@implementation TaskWithUpdateAddress

-(void)prepare{
    NSMutableDictionary *mDic = [NSMutableDictionary dictionary];
    
    [mDic setValue:self.address.address forKey:@"address"];
    [mDic setValue:self.address.consignee forKey:@"consignee"];
    [mDic setValue:self.address.mobile forKey:@"mobile"];
    [mDic setValue:self.address.telephone forKey:@"telephone"];
    [mDic setValue:self.address.email forKey:@"email"];
    
    [mDic setValue:self.address.id forKey:@"addressid"];
    
    [self startAsyncWithParams:mDic withMethod:@"POST" withURL:[Configure updateAddress]];
}
-(id)parese{
    
    return nil;
}


@end
